package auction.chapter16;

import auction.chapter16.dao.BidDAO;
import auction.chapter16.factory.DAOFactory;

public class Chapter16LayeredApp {
	
	public static void main(String[] args){
		execute();
	}
	
	public static void execute(){
		DAOFactory factory=DAOFactory.instance(DAOFactory.HIBERNATE);
		BidDAO bidDAO=factory.getBidDAO();
		
		bidDAO.findById(1L, false);
	}
}
